package com.shangyueshang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangyueshang.model.Shop;
import com.shangyueshang.request.PageReq;
import com.shangyueshang.request.ShopDTO;
import com.shangyueshang.response.HttpResult;
import com.shangyueshang.response.PageResult;

import java.util.List;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2022/1/14 10:48
 * @version: v1.0.0
 */
public interface ShopService extends IService<Shop> {

    /**
     * 保存店铺
     *
     * @param shopDTO
     * @return
     */
    HttpResult save(ShopDTO shopDTO);

    /**
     * 分页查询
     *
     * @param pageReq
     * @return
     */
    PageResult findPage(PageReq pageReq);

    /**
     * 删除店铺
     *
     * @param ids
     * @return
     */
    HttpResult remove(List<Long> ids);

}
